<!--{include(pe_tpl('header.html'));}-->
<div class="right_page">
	<div class="now">
		<a href="admin.php?mod=article_category&type=news" <!--{if($_g_type=='news'):}-->class="sel"<!--{endif;}-->>资讯中心<i></i></a>
		<a href="admin.php?mod=article_category&type=help" <!--{if($_g_type=='help'):}-->class="sel"<!--{endif;}-->>帮助中心<i></i></a>
		<a href="admin.php?mod=article_category&act=add&type={$_g_type}" id="fabu">添加分类</a>
		<div class="clear"></div>
	</div>
	<div class="right_main">
		<form method="post" id="form">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
		<tr>
			<th class="bgtt" width="50">ID号</th>
			<th class="bgtt" width="60">排序</th>
			<th class="bgtt">分类名称</td>
			<th class="bgtt" width="110">操作</th>
		</tr>
		<!--{foreach($info_list as $k=>$v):}-->
		<tr>
			<td>{$v['category_id']}</td>
			<td><input type="text" name="category_order[{$v['category_id']}]" value="{$v['category_order']}" class="inputtext input40 center" /></td>
			<td class="left"><a href="{pe_url('article-list-'.$v['category_id'])}" target="_blank">{$v['category_name']}</a></td>
			<td>
				<!--{if($v['category_id'] != 1):}-->
				<a href="admin.php?mod=article_category&act=edit&id={$v['category_id']}&{pe_jump()}" class="admin_edit mar3">修改</a>
				<a href="javascript:pe_confirm('删除', 'admin.php?mod=article_category&act=del&id={$v['category_id']}&token={$pe_token}')" class="admin_del">删除</a>
				<!--{else:}-->
				-
				<!--{endif}-->
			</td>
		</tr>
		<!--{endforeach;}-->
		</table>
		</form>
	</div>
	<div class="right_bottom">
		<span class="fl">
			<input type="button" onclick="pe_confirm('更新排序', 'admin.php?mod=article_category&act=order&token={$pe_token}', true)" value="更新排序" />
		</span>
		<span class="fr fenye">{$db->page->html}</span>
		<div class="clear"></div>
	</div>
</div>
<!--{include(pe_tpl('footer.html'));}-->